target.path=/usr/lib/deepin-defender-mil/modules/
INSTALLS += target

TS_NAME = $${PWD}/translations/$${TARGET}
exists($${TS_NAME}.ts) {
    LRELEASE_PATH = $$[QT_INSTALL_BINS]/lrelease
    QMAKE_PRE_LINK += $$LRELEASE_PATH $${TS_NAME}.ts -qm $${TS_NAME}.qm
    ts.files=$${TS_NAME}.qm
    ts.path=/usr/share/deepin-defender-mil/translations/
    INSTALLS += ts
}
